package com.raycloud.domain;

import java.io.Serializable;
import java.util.Date;

public class Msg implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private long userId;
	
	private String nick;
	
	private String msgId;
	
	private String content;
	
	private int type;
	
	private int commentCount;
	
	private int commentedCount;
	
	private int transferCount;
	
	private int transferedCount;
	
	private Date addTime;
	
	/**
	 * 当微博是转发微博的时候，此属性用来承载被转发的那条微博的信息
	 */
	private Msg transferMsg;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}

	public int getCommentedCount() {
		return commentedCount;
	}

	public void setCommentedCount(int commentedCount) {
		this.commentedCount = commentedCount;
	}

	public int getTransferCount() {
		return transferCount;
	}

	public void setTransferCount(int transferCount) {
		this.transferCount = transferCount;
	}

	public int getTransferedCount() {
		return transferedCount;
	}

	public void setTransferedCount(int transferedCount) {
		this.transferedCount = transferedCount;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public void setTransferMsg(Msg transferMsg) {
		this.transferMsg = transferMsg;
	}

	public Msg getTransferMsg() {
		return transferMsg;
	}
}
